package com.fanhang.samples.spring.rmi.client.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 樊航
 */
@Controller
@RequestMapping("demo")
public class DemoController {

	@RequestMapping("hello")
	public String hello(String msg) {
		System.out.println(msg);
		return "哎哟, 不错哦 - " + msg;
	}

}
